/*
 *  ParsedXML.h
 *  cactus-xml
 *
 *  Created by Yury Nikalayuk on 02.04.10.
 *  Copyright 2011 CactusSoft. All rights reserved.
 *
 */
#include <string>
#include <memory>
#include "XMLNode.h"

class ParsedXML
{
	
public:
	ParsedXML();
	~ParsedXML();
	
	bool Prepare(const std::string &fileName);
	
	const XMLNode & Root() const;	

private:
	std::auto_ptr<XMLNode> root;
	
	XMLNode * CreateNode(void *source);
};
